package Text.Text1;

import java.io.File;
import java.io.IOException;

/*
 *@Student 张策
 */
public class text1 {
    public static void main(String[] args) {
        text1 text1 = new text1();
        text1.fun3();
//        text1.fun2();
//        text1.creat01();
    }
    public void fun3(){
        String phat="e:\\";
        String name="完美世界.txt";
        File file = new File(phat, name);
        try {
            file.createNewFile();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
//    public void fun2(){
//        File Ffile=new File("e:\\");
//        String name="666.txt";
//        File Sfile=new File(Ffile,name);
//        try {
//            Sfile.createNewFile();
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
 //   }
//    public void creat01(){
////        String fills="e:\\newzc.txt";
//        File file = new File("e:\\www.txt");
//        try {
//            file.createNewFile();
//            System.out.println("创建成功");
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//    }
}
